package com.youlu.campus.entity.commission.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author : [dengbo]
 * @className : DistributorChannelSaveDTO
 * @description : [渠道保存]
 * @createTime : [2023/3/6 20:55]
 */
@Data
public class DistributorChannelSaveDTO {
    private String id;
    @NotBlank(message = "渠道名称不能为空")
    private String channelName;
    private String userName;
    private String openId;
    @NotNull(message = "佣金比例不能为空")
    private Integer distributorRatio;
    @NotBlank(message = "关联账号Id不能为空")
    private String accountId;
    private Boolean channelUser;
}
